package com.egoo.ticket.server.dao;

import com.egoo.ticket.server.pojo.entity.WorkOrderFieldReflect;
import com.egoo.ticket.server.pojo.vo.WorkOrderFieldReflectVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author Donny_Dong
 * @Description //TODO Administrator
 * @Date 15:25 2019/12/25
 * @Param
 * @return
 **/
@Component

public interface WorkOrderFieldReflectDao {

	/**
	 * TODO 批量创建映射字段
	 * @param workOrderFieldReflect
	 * @return
	 */
	Integer create(List<WorkOrderFieldReflect> workOrderFieldReflect);


	/**
	 * TODO 通过流程id查询字段映射列表
	 * @param workOrderTypeId
	 * @param tenantId
	 * @param nodeId
	 * @return
	 */
	List<WorkOrderFieldReflect> selectByWorkOrderTypeId(@Param("workOrderTypeId") String workOrderTypeId,
														@Param("tenantId") String tenantId,
														@Param("nodeId") String nodeId);
}
